-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-24810][SQL] Fix paths to test files in AvroSuite #21773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #93027 has finished for PR 21773 at commit
|
HyukjinKwon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Test build #93028 has finished for PR 21773 at commit
|
| val episodesFile = "src/test/resources/episodes.avro" | ||
| val testFile = "src/test/resources/test.avro" | ||
| val episodesAvro = "episodes.avro" | ||
| val testAvro = "test.avro" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit:
Maybe we can make it simpler
val episodesAvro = testFile("episodes.avro")
val testAvro = testFile("test.avro")
|
Test build #4212 has finished for PR 21773 at commit
|
|
Test build #93033 has finished for PR 21773 at commit
|
|
Test build #93035 has finished for PR 21773 at commit
|
|
retest this please |
|
Test build #93039 has finished for PR 21773 at commit
|
gatorsmile
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks! Merged to master
## What changes were proposed in this pull request? In the PR, I propose to move `testFile()` to the common trait `SQLTestUtilsBase` and wrap test files in `AvroSuite` by the method `testFile()` which returns full paths to test files in the resource folder. Author: Maxim Gekk <[email protected]> Closes apache#21773 from MaxGekk/test-file.
In the PR, I propose to move `testFile()` to the common trait `SQLTestUtilsBase` and wrap test files in `AvroSuite` by the method `testFile()` which returns full paths to test files in the resource folder. Author: Maxim Gekk <[email protected]> Closes apache#21773 from MaxGekk/test-file. (cherry picked from commit 9f92945)
What changes were proposed in this pull request?
In the PR, I propose to move
testFile()to the common traitSQLTestUtilsBaseand wrap test files inAvroSuiteby the methodtestFile()which returns full paths to test files in the resource folder.